package com.woniu.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 标签（病例表）
 * </p>
 *
 * @author doujiao
 * @since 2022-10-12
 */
@Getter
@Setter
@TableName("tb_label")
@ApiModel(value = "Label对象", description = "标签（病例表）")
public class Label implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("标签序号")
      @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("标签内容")
      private String name;

      @ApiModelProperty("是否已经删除：0(未删除)，1(已删除)")
      @TableLogic
      private String isDelete;

      @ApiModelProperty("创建时间")
      @TableField(fill = FieldFill.INSERT)
      private Date createTime;

      @ApiModelProperty("修改时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
      private Date updateTime;

      @ApiModelProperty("状态  (0未启用, 1启用)")
      @ExcelProperty("状态  (0未启用, 1启用)")
      private String status;
}
